package com.ruoyi.loan.loan.mapper;

import java.util.List;
import com.ruoyi.loan.loan.domain.TbLoanSignature;

/**
 * 借款签章Mapper接口
 * 
 * @author 杰少
 * @date 2023-01-14
 */
public interface TbLoanSignatureMapper 
{
    /**
     * 查询借款签章
     * 
     * @param loanSignatureId 借款签章主键
     * @return 借款签章
     */
    public TbLoanSignature selectTbLoanSignatureByLoanSignatureId(Long loanSignatureId);

    /**
     * 查询借款签章列表
     * 
     * @param tbLoanSignature 借款签章
     * @return 借款签章集合
     */
    public List<TbLoanSignature> selectTbLoanSignatureList(TbLoanSignature tbLoanSignature);

    /**
     * 新增借款签章
     * 
     * @param tbLoanSignature 借款签章
     * @return 结果
     */
    public int insertTbLoanSignature(TbLoanSignature tbLoanSignature);

    /**
     * 修改借款签章
     * 
     * @param tbLoanSignature 借款签章
     * @return 结果
     */
    public int updateTbLoanSignature(TbLoanSignature tbLoanSignature);

    /**
     * 删除借款签章
     * 
     * @param loanSignatureId 借款签章主键
     * @return 结果
     */
    public int deleteTbLoanSignatureByLoanSignatureId(Long loanSignatureId);

    /**
     * 批量删除借款签章
     * 
     * @param loanSignatureIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTbLoanSignatureByLoanSignatureIds(Long[] loanSignatureIds);
}
